﻿//change backgroud
function changeBackgroundRed(controlName, failOrPass) {
    if (failOrPass == 'false') {
        controlName.style.backgroundColor = "Red";
    }
    else if (failOrPass == 'true') {
        controlName.style.backgroundColor = "";
    }
}

function changeBackgroundYe(controlName, failOrPass) {
    if (failOrPass == 'false') {
        controlName.style.backgroundColor = "Yellow";
    }
    else if (failOrPass == 'true') {
        controlName.style.backgroundColor = "";
    }
}